<?php
/**
 * Created by PhpStorm.
 * User: adophper <hello@adophper.com>
 * Date: 2017/3/8
 * Time: 17:31
 */
use yii\bootstrap\ActiveForm;

$this->title = Yii::t('common', 'clean_cache');
$this->params['breadcrumbs'][] = $this->title;
?>
<div class="clean-box">
    <h3>请选择需要清除的缓存</h3>
    <?php
    $form = ActiveForm::begin([
        'id' => 'clean-form'
    ])
    ?>
    <div class="form-conrol">
        <label><input type="checkbox" name="clean[]" value="static" /> 静态资源</label>
    </div>
    <div class="form-conrol">
        <label><input type="checkbox" name="clean[]" value="runtime" /> 数据缓存</label>
    </div>
    <div class="form-conrol">
        <input type="submit" class="btn btn-primary">
    </div>
    <?php
    ActiveForm::end();
    ?>
</div>
